; Music of North Star (1988) (Gremlin Graphics) (Ben Daglish)
; Ripped by Megachur the 03/11/2006

	write "NORTHSTA.BIN"

music_date_rip	equ &03b6
music_adr	equ &3430
first_theme	equ 0
last_theme	equ 1

	read "music_header_v1_0.asm"
	
;&3430
	jp l34c9	; init
	jp l3551	; play
.l3436
.music_end
	db #00
	jp l344a	; init sound effetcs
	jp l343e	; stop
.l343d
	db #00
;
.stop_music
.l343e	; stop
;
	xor a
	ld (l3436),a
	ld (l3829),a
	jp l38d6
.l3448
	jr l3482
.l344a
	di
	ld l,a
	ld e,a
	ld h,#00
	ld d,h
	add hl,hl
	add hl,de
	add hl,hl
	add hl,hl
	add hl,de
	ld iy,l3dcf
	ex de,hl
	add iy,de
	ld l,(iy+#0b)
	ld h,(iy+#0c)
	ld c,(iy+#0a)
	ld ix,(l3448)
	call l384f
	set 7,(ix+#11)
	ei
	ret
.l3472
	db #00
.l3479 equ $ + 6
.l3473
	db #00,#00,#00,#00,#00,#00,#00,#00
.l3482 equ $ + 7
.l3481 equ $ + 6
.l347f equ $ + 4
.l347e equ $ + 3
.l347d equ $ + 2
.l347c equ $ + 1
.l347b
	db #00,#00,#00,#00,#00,#00,#00,#00
.l3487 equ $ + 4
	db #00,#00,#00,#00,#08
.l348e equ $ + 6
.l3488
	db #00,#00,#00,#00,#00,#00,#00,#00
.l3496 equ $ + 6
.l3494 equ $ + 4
.l3493 equ $ + 3
.l3492 equ $ + 2
.l3491 equ $ + 1
.l3490
	db #00,#00,#00,#00,#00,#00,#00,#00
.l349c equ $ + 4
	db #00,#00,#00,#00,#10
.l34a3 equ $ + 6
.l349d
	db #00,#00,#00,#00,#00,#00,#00,#00
.l34ab equ $ + 6
.l34a9 equ $ + 4
.l34a8 equ $ + 3
.l34a7 equ $ + 2
.l34a6 equ $ + 1
.l34a5
	db #00,#00,#00,#00,#00,#00,#00,#00
.l34b1 equ $ + 4
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00
;
.init_music
.l34c9	; init
;
	push af
	call l38d6
	pop af
	ld l,a
	add a
	add l
	add a
	ld hl,l3cc4
	add l
	ld l,a
	jr nc,l34da
	inc h
.l34da
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3473),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l3488),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (l349d),de
	xor a
	ld (l347c),a
	ld (l3491),a
	ld (l34a6),a
	ld (l3481),a
	ld (l3496),a
	ld (l34ab),a
	cpl
	ld (l347d),a
	ld (l3492),a
	ld (l34a7),a
	ld a,#01
	ld (l347b),a
	ld (l3490),a
	ld (l34a5),a
	ld (l347e),a
	ld (l3493),a
	ld (l34a8),a
	ld hl,l34b1
	ld bc,#030a
.l3529
	xor a
.l352a
	ld (hl),a
	inc hl
	add c
	ld (hl),a
	inc hl
	add c
	cp #50
	jr nz,l352a
	djnz l3529
	ld hl,l3d2f
	ld (l3479),hl
	ld (l348e),hl
	ld (l34a3),hl
	ld a,#ff
	ld (l347f),a
	ld (l3494),a
	ld (l34a9),a
	ld (l3436),a
	ret
;
.play_music
.l3551	; play
;
	ld a,(l3829)
	and #80
	ld (l343d),a
	call l38ff
	ld a,(l3436)
	and a
	ret z
	ld a,(l347f)
	ld hl,l3494
	or (hl)
	ld hl,l34a9
	or (hl)
	ld (l3436),a
	jr nz,l3583
	xor a
	ld (l3436),a
	ld a,(l3817)
	and #3f
	cp #3f
	ret z
	ld a,#01
	ld (l3436),a
	ret
.l3583
	ld iy,l3472
	ld ix,l3818
	call l35a1
	ld iy,l3487
	ld ix,l382a
	call l35a1
	ld iy,l349c
	ld ix,l383c
.l35a1
	call l36e2
	ld a,(iy+#0b)
	and a
	jr z,l3626
.l35aa
	dec (iy+#09)
	jr z,l35c1
	ld a,(iy+#03)
	ld (iy+#05),a
	ld a,(iy+#04)
	ld (iy+#06),a
	ld (iy+#0b),#00
	jr l3626
.l35c1
	ld (iy+#09),#01
	ld l,(iy+#01)
	ld h,(iy+#02)
.l35cb
	ld a,(hl)
	cp #80
	jr c,l3606
	cp #fe
	jr nz,l35dd
	inc hl
	ld a,(hl)
	ld (iy+#0a),a
	inc hl
	jp l35cb
.l35dd
	cp #ff
	jr nz,l35e6
	xor a
	ld (iy+#0d),a
	ret
.l35e6
	cp #c0
	jr nc,l35f3
	and #1f
	ld (iy+#09),a
	inc hl
	jp l35cb
.l35f3
	and #07
	add (iy+#00)
	ld de,l34b1
	add e
	ld e,a
	jr nc,l3600
	inc d
.l3600
	inc hl
	ldi
	jp l35cb
.l3606
	ld (iy+#0b),#00
	inc hl
	ld (iy+#01),l
	ld (iy+#02),h
	ld c,a
	ld b,#00
	ld hl,l3ca0
	add hl,bc
	ld e,(hl)
	ld hl,l3cb2
	add hl,bc
	ld d,(hl)
	ld (iy+#03),e
	ld (iy+#04),d
	jr l362c
.l3626
	ld e,(iy+#05)
	ld d,(iy+#06)
.l362c
	dec (iy+#0c)
	jr z,l363e
	ld a,(de)
	cp #80
	call nc,l36a8
	ld (iy+#05),e
	ld (iy+#06),d
	ret
.l363e
	ld a,(de)
	cp #80
	jr c,l364f
	call l36a8
	ld a,(iy+#0b)
	and a
	jr z,l363e
	jp l35aa
.l364f
	cp #7f
	jr z,l369b
	cp #7e
	jr nz,l3660
	inc de
	ld a,(de)
	ld l,a
	inc de
	ld a,(de)
	ld h,a
	jp l367c
.l3660
	add (iy+#0a)
	add #0c
	ld (iy+#0e),a
	ld hl,l376d
	add a
	ld c,a
	ld b,#00
	add hl,bc
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	ld a,(iy+#0f)
.l3677
	or #c0
	ld (iy+#14),a
.l367c
	inc de
	ld a,(de)
	inc de
	ld (iy+#0c),a
	ld c,a
	ld (iy+#05),e
	ld (iy+#06),d
	ld e,(iy+#07)
	ld a,(iy+#08)
	ld hy,a
	ld ly,e
	bit 7,(ix+#11)
	ret nz
	jp l384f
.l369b
	inc de
	ld a,(de)
	inc de
	ld (iy+#0c),a
	ld (iy+#05),e
	ld (iy+#06),d
	ret
.l36a8
	ld a,(de)
	cp #88
	jr nc,l36c6
	and #07
	add (iy+#00)
	ld c,a
	ld b,#00
	ld hl,l34b1
	add hl,bc
	ld c,(hl)
	ld hl,l3d2f
	add hl,bc
	ld (iy+#07),l
	ld (iy+#08),h
	inc de
	ret
.l36c6
	cp #ff
	jr nz,l36cf
	ld (iy+#0b),#ff
	ret
.l36cf
	cp #c0
	jr nc,l36da
	and #0f
	ld (iy+#0f),a
	inc de
	ret
.l36da
	inc de
	cp #c2
	ret z
	inc de
	inc de
	inc de
	ret
.l36e2
	ld a,(iy+#14)
	bit 7,a
	ret z
	and #3f
	jr nz,l36f1
	res 7,(iy+#14)
	ret
.l36f1
	ld d,#07
	bit 6,(iy+#14)
	jr nz,l3725
	dec (iy+#12)
	ret nz
	dec (iy+#13)
	jp z,l3725
	ld l,(iy+#10)
	ld h,(iy+#11)
	inc l
	ld (iy+#10),l
	jp nz,l3714
	inc h
	ld (iy+#11),h
.l3714
	ld a,(hl)
	and d
	ld (iy+#12),a
	ld a,(hl)
	rrca
	rrca
	rrca
	and #1f
	add (iy+#0e)
	jp l375a
.l3725
	ld hl,l3677
	ld a,(iy+#14)
	add a
	add a
	add a
	ld e,a
	add hl,de
	bit 7,(hl)
	jr nz,l373f
	bit 6,(iy+#14)
	jr nz,l373f
	ld (iy+#13),#01
	ret
.l373f
	res 6,(iy+#14)
	ld a,(hl)
	rrca
	rrca
	rrca
	and d
	ld (iy+#12),a
	ld a,(hl)
	and d
	inc a
	ld (iy+#13),a
	ld (iy+#10),l
	ld (iy+#11),h
	ld a,(iy+#0e)
.l375a
	add a
	ld hl,l376d
	add l
	ld l,a
	jr nc,l3763
	inc h
.l3763
	ld a,(hl)
	ld (ix+#03),a
	inc hl
	ld a,(hl)
	ld (ix+#04),a
	ret
.l376d
	dw #0eee,#0e18,#0d4d,#0c8e
	dw #0bda,#0b2f,#0a8f,#09f7
	dw #0968,#08e1,#0861,#07e9
	dw #0777,#070c,#06a7,#0647
	dw #05ed,#0598,#0547,#04fc
	dw #04d4,#0470,#0431,#03f4
	dw #03dc,#0386,#0353,#0324
	dw #02f6,#02cc,#02a4,#027e
	dw #025a,#0238,#0218,#01fa
	dw #01de,#01c3,#01aa,#0192
	dw #017b,#0166,#0152,#013f
	dw #012d,#011c,#010c,#00fd
	dw #00ef,#00e1,#00d5,#00c9
	dw #00be,#00b3,#00a9,#009f
	dw #0096,#008e,#0086,#007f
	dw #0077,#0071,#006a,#0064
	dw #005f,#0059,#0054,#0050
	dw #004b,#0047,#0043,#003f
	dw #003c,#0038,#0035,#0032
	dw #002f,#002d,#002a,#0028
	dw #0026,#0024,#0022,#0020
	dw #0018
.l381b equ $ + 4
.l3818 equ $ + 1
.l3817
	db #3f,#fe,#f7,#09,#00
.l381d equ $ + 1
.l381c
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00
.l3829
	db #00
.l382a
	db #fd,#ef
	db #12
.l382f equ $ + 2
.l382e equ $ + 1
.l382d
	db #00,#00,#00,#00,#00,#00,#00,#00
.l383c equ $ + 7
.l383b equ $ + 6
	db #00,#00,#00,#00,#00,#00,#00,#fb
.l3841 equ $ + 4
.l3840 equ $ + 3
.l383f equ $ + 2
	db #df,#24,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.l384e equ $ + 1
.l384d
	db #00,#00
.l384f
	di
	ld a,ly
	ld (ix+#0f),a
	ld a,hy
	ld (ix+#10),a
	ld (ix+#03),l
	ld (ix+#04),h
	ld (ix+#06),c
	ld a,(iy+#05)
	ld (ix+#07),a
	ld a,(iy+#06)
	and #7f
	srl a
	jr nz,l3874
	ld a,#01
.l3874
	ld (ix+#08),a
	ld a,(iy+#07)
	ld (ix+#0b),a
	ld a,(iy+#08)
	ld (ix+#0c),a
	xor a
	ld (ix+#09),a
	ld (ix+#0a),a
	ld a,(l3817)
	or (ix+#02)
	ld c,(iy+#09)
	ld (ix+#11),c
	bit 0,c
	jr z,l389d
	and (ix+#00)
.l389d
	bit 1,c
	jr z,l38a4
	and (ix+#01)
.l38a4
	ld (l3817),a
	bit 2,c
	jr nz,l38b6
	ld hl,l39ed
	ld (ix+#0d),l
	ld (ix+#0e),h
	ei
	ret
.l38b6
	call l3aa5
	ld a,(iy+#00)
	ld c,#0d
	call l3abc
	ld a,(iy+#04)
	ld c,#0b
	call l3abc
	inc c
	xor a
	call l3abc
	ld (ix+#05),#ff
	ei
	jp l3ab1
.l38d6
	call l3aa5
	ld c,#07
	ld a,(l3817)
	or #3f
	ld (l3817),a
	call l3abc
	xor a
	inc c
	call l3abc
	inc c
	call l3abc
	inc c
	call l3abc
	ld (l3829),a
	ld (l383b),a
	ld (l384d),a
	jp l3ab1
.l38ff
	ld a,(l3817)
	and #3f
	cp #3f
	ret z
	ld ix,l3818
	call l39bb
	ld ix,l382a
	call l39bb
	ld ix,l383c
	call l39bb
	call l3aa5
	ld ix,l3818
	ld c,#07
	ld a,(l3817)
	call l3abc
	ld c,#00
	ld a,(l381b)
	add (ix+#09)
	bit 1,(ix+#11)
	jp z,l393d
	ld (l384e),a
.l393d
	call l3abc
	inc c
	ld a,(l381c)
	adc (ix+#0a)
	call l3abc
	inc c
	ld a,(l382d)
	add (ix+#1b)
	bit 1,(ix+#23)
	jp z,l395b
	ld (l384e),a
.l395b
	call l3abc
	inc c
	ld a,(l382e)
	adc (ix+#1c)
	call l3abc
	inc c
	ld a,(l383f)
	add (ix+#2d)
	bit 1,(ix+#35)
	jp z,l3979
	ld (l384e),a
.l3979
	call l3abc
	inc c
	ld a,(l3840)
	adc (ix+#2e)
	call l3abc
	inc c
	ld a,(l384e)
	rrca
	rrca
	rrca
	call l3abc
	ld c,#08
	ld a,(l381d)
	srl a
	srl a
	srl a
	call l3abc
	inc c
	ld a,(l382f)
	srl a
	srl a
	srl a
	call l3abc
	inc c
	ld a,(l3841)
	srl a
	srl a
	srl a
	call l3abc
	jp l3ab1
.l39bb
	ld a,(l3817)
	and (ix+#02)
	cp (ix+#02)
	ret z
	ld a,(ix+#0f)
	ld ly,a
	ld a,(ix+#10)
	ld hy,a
	ld a,(ix+#06)
	and a
	jr z,l39dc
	cp #ff
	jr z,l39dc
	dec (ix+#06)
.l39dc
	call l3a63
	bit 2,(iy+#09)
	jp nz,l3a5c
	ld l,(ix+#0d)
	ld h,(ix+#0e)
	jp (hl)
.l39ed
	ld a,(ix+#05)
	add (iy+#00)
	cp (iy+#04)
	jr nc,l39fc
	ld (ix+#05),a
	ret
.l39fc
	ld a,(iy+#04)
	ld (ix+#05),a
	ld hl,l3a0c
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l3a0c
	ld a,(ix+#05)
	add (iy+#01)
	jp m,l3a1e
	cp (iy+#02)
	jr c,l3a1e
	ld (ix+#05),a
	ret
.l3a1e
	ld a,(iy+#02)
	ld (ix+#05),a
	ld hl,l3a2e
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l3a2e
	ld a,(ix+#06)
	and a
	ret nz
	ld hl,l3a3d
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.l3a3d
	ld a,(ix+#05)
	add (iy+#03)
	jp m,l3a4a
	ld (ix+#05),a
	ret
.l3a4a
	ld (ix+#05),#00
	ld a,(l3817)
	or (ix+#02)
	ld (l3817),a
	res 7,(ix+#11)
	ret
.l3a5c
	ld a,(ix+#06)
	and a
	ret nz
	jr l3a4a
.l3a63
	ld a,(ix+#07)
	and a
	jr z,l3a70
	cp #ff
	ret z
	dec (ix+#07)
	ret nz
.l3a70
	ld l,(ix+#09)
	ld h,(ix+#0a)
	ld c,(ix+#0b)
	ld b,(ix+#0c)
	add hl,bc
	ld (ix+#09),l
	ld (ix+#0a),h
	dec (ix+#08)
	ret nz
	ld a,(iy+#06)
	and a
	ret z
	jp p,l3a94
	ld (ix+#07),#ff
	ret
.l3a94
	ld (ix+#08),a
	ld a,c
	cpl
	ld c,a
	ld a,b
	cpl
	ld b,a
	inc bc
	ld (ix+#0b),c
	ld (ix+#0c),b
	ret
.l3aa5
	ld bc,#f782
	out (c),c
	ld de,#c000
	ld hl,#f680
	ret
.l3ab1
	ld bc,#f40e
	out (c),c
	ld b,h
	out (c),d
	out (c),e
	ret
.l3abc
	ld b,#f4
	out (c),c
	ld b,h
	out (c),d
	out (c),e
	ld b,#f4
	out (c),a
	ld b,h
	out (c),l
	out (c),e
	ret
.s00
	db #80,#12,#08,#12,#08,#81,#12,#08
	db #80,#12,#10,#12,#08,#81,#12,#08
	db #80,#12,#08,#10,#08,#10,#08,#81
	db #12,#08,#80,#10,#10,#10,#08,#81
	db #12,#08,#80,#10,#08,#0b,#08,#0b
	db #08,#81,#12,#08,#80,#0b,#10,#0b
	db #08,#81,#12,#08,#80,#0b,#08,#09
	db #08,#09,#08,#81,#12,#08,#80,#09
	db #10,#09,#08,#81,#12,#08,#80,#09
	db #08,#ff
.s01
	db #82,#1e,#08,#1e,#08,#1c
	db #08,#1e,#10,#1c,#08,#1e,#08,#1c
	db #08,#1c,#08,#1c,#08,#1b,#08,#1c
	db #10,#1b,#08,#1c,#08,#1b,#08,#1b
	db #08,#1b,#08,#19,#08,#1b,#10,#19
	db #08,#1b,#08,#19,#08,#19,#08,#19
	db #08,#21,#08,#19,#10,#21,#08,#17
	db #08,#23,#08,#ff
.s02
	db #83,#91,#7f,#10
	db #2a,#08,#7f,#10,#2a,#08,#7f,#08
	db #2a,#08,#92,#7f,#10,#28,#08,#7f
	db #10,#28,#08,#7f,#08,#28,#08,#93
	db #7f,#10,#27,#08,#7f,#10,#27,#08
	db #7f,#08,#27,#08,#7f,#10,#25,#08
	db #7f,#10,#25,#08,#7f,#08,#25,#08
	db #ff
.s03
	db #83,#7f,#08,#2a,#08,#7f,#10
	db #2a,#08,#7f,#08,#2a,#08,#7f,#10
	db #28,#08,#7f,#10,#28,#08,#7f,#08
	db #28,#08,#83,#7f,#18,#26,#08,#25
	db #10,#26,#08,#28,#10,#7f,#10,#26
	db #08,#25,#10,#21,#08,#28,#10,#ff
.s04
	db #90,#83,#31,#08,#2a,#08,#ff
.s05
	db #7f,#10,#ff
.s06
	db #80,#06,#08,#08,#08,#09
	db #08,#0b,#10,#0d,#08,#09,#08,#08
	db #08,#ff
.s07
	db #80,#06,#08,#08,#08,#09
	db #08,#0b,#10,#0d,#08,#0e,#08,#10
	db #08,#0d,#08,#09,#08,#0b,#08,#08
	db #08,#09,#08,#0d,#08,#08,#08,#0d
	db #08,#ff
.s08
	db #85,#06,#80,#ff
.s09
	db #80,#04
	db #08,#06,#10,#08,#10,#09,#10,#0b
	db #10,#0d,#10,#0e,#10,#10,#08,#15
	db #08,#14,#08,#ff
.s10
	db #86,#7f,#40,#12
	db #08,#12,#08,#12,#08,#12,#08,#0f
	db #08,#0f,#08,#0d,#08,#0d,#08,#ff
.s11
	db #87,#16,#10,#16,#10,#16,#08,#16
	db #08,#12,#10,#12,#08,#0f,#08,#0f
	db #08,#0f,#08,#ff
.s12
	db #80,#12,#08,#12
	db #08,#10,#08,#12,#08,#12,#08,#10
	db #08,#17,#08,#17,#08,#15,#08,#14
	db #08,#14,#08,#15,#08,#ff
.s13
	db #82,#94
	db #2a,#08,#91,#2a,#08,#95,#28,#08
	db #91,#2a,#08,#96,#2d,#08,#97,#2c
	db #08,#94,#2a,#08,#91,#2a,#08,#98
	db #28,#08,#91,#2a,#08,#99,#25,#08
	db #9a,#23,#08,#ff
.s14
	db #82,#12,#08,#19
	db #08,#1c,#08,#1e,#08,#23,#08,#21
	db #08,#25,#08,#21,#08,#23,#08,#1c
	db #08,#1e,#08,#17,#08,#ff
.s15
	db #7f,#02
	db #ff
.s16
	db #91,#2a,#10,#2a,#08,#ff
.s17
	db #87
	db #12,#08,#12,#08,#12,#08,#12,#18
	db #ff
.l3ca0
	db s00,s01,s02,s03,s04,s05,s06,s07
	db s08,s09,s10,s11,s12,s13,s14,s15
	db s16,s17
;	db #cf,#19,#53,#88,#b7,#be,#c1
;	db #d1,#f1,#f5,#0b,#1f,#33,#4d,#73
;	db #8d,#90,#96
.l3cb2
	db s00/&100,s01/&100,s02/&100,s03/&100,s04/&100,s05/&100,s06/&100,s07/&100
	db s08/&100,s09/&100,s10/&100,s11/&100,s12/&100,s13/&100,s14/&100,s15/&100
	db s16/&100,s17/&100
;	db #3a,#3b,#3b,#3b,#3b,#3b,#3b,#3b
;	db #3b,#3b,#3c,#3c,#3c,#3c,#3c,#3c
;	db #3c,#3c
.l3cc4
	dw l3cd0,l3ce3,l3cef
	dw l3d14,l3d1a,l3d24
.l3cd0
	db #fe,#0c,#84,#00,#88,#05,#06,#06
	db #07,#06,#06,#07,#06,#06,#07,#06
.l3ce3 equ $ + 3
	db #06,#09,#ff,#fe,#0c,#84,#02,#88
.l3cef equ $ + 7
	db #04,#fe,#00,#87,#08,#0a,#ff,#fe
	db #0c,#01,#01,#03,#03,#90,#04,#fe
	db #0a,#88,#04,#fe,#0c,#88,#04,#fe
	db #0a,#88,#04,#fe,#0c,#88,#04,#fe
	db #0a,#88,#04,#fe,#0c,#88,#04,#fe
.l3d14 equ $ + 4
	db #0a,#88,#04,#ff,#fe,#05,#88,#0b
.l3d1a equ $ + 2
	db #11,#ff,#fe,#0c,#84,#0c,#fe,#00
.l3d24 equ $ + 4
	db #84,#0d,#10,#ff,#fe,#0c,#84,#0e
	db #0f,#fe,#00,#84,#0d,#10,#ff
.l3d2f
	db #64,#fc,#03,#fc,#7f,#00
	db #03,#01,#00,#01,#7f,#fb,#03,#fc
	db #73,#00,#00,#99,#00,#03,#7f,#fe
	db #03,#fc,#69,#00,#01,#01,#00,#01
	db #50,#fe,#03,#fc,#64,#00,#01,#01
	db #00,#01,#7f,#f4,#03,#fc,#69,#ff
	db #00,#00,#00,#01,#01,#ff,#03,#fc
	db #5a,#00,#00,#31,#00,#02,#7f,#fb
	db #03,#fc,#73,#00,#00,#03,#00,#03
	db #7f,#fb,#03,#fc,#7f,#00,#00,#1e
	db #00,#01,#8a,#1a,#3a,#00,#00,#00
	db #00,#00,#8a,#22,#3a,#00,#00,#00
	db #00,#00,#8a,#1a,#42,#00,#00,#00
	db #00,#00,#8a,#12,#3a,#00,#00,#00
	db #00,#00,#8a,#4a,#72,#00,#00,#00
	db #00,#00,#89,#22,#00,#00,#00,#00
	db #00,#00,#8a,#2a,#42,#00,#00,#00
	db #00,#00,#8a,#4a,#62,#00,#00,#00
	db #00,#00,#8a,#52,#7a,#00,#00,#00
	db #00,#00,#8a,#62,#82,#00,#00,#00
.l3dcf equ $ + 2
	db #00,#00,#0b,#fb,#03,#ff,#7f,#00
	db #00,#0a,#00,#02,#19,#9a,#00,#6e
	db #fe,#01,#ff,#7f,#00,#00,#04,#00
	db #02,#3c,#0f,#00,#7f,#fd,#01,#ff
	db #7f,#00,#00,#29,#00,#02,#1e,#17
	db #00,#7f,#fe,#01,#ff,#7f,#00,#02
	db #01,#00,#01,#32,#32,#00,#07,#fe
	db #02,#ff,#7f,#00,#06,#14,#00,#01
	db #50,#96,#00,#7f,#e8,#02,#ff,#69
	db #ff,#00,#00,#00,#02,#07,#0c,#00
	db #7f,#e8,#01,#ff,#69,#ff,#00,#00
	db #00,#02,#07,#18,#00,#7f,#fa,#01
	db #ff,#7f,#04,#00,#d4,#ff,#01,#1e
	db #7b,#03,#08,#fb,#04,#fc,#03,#00
	db #03,#01,#00,#05,#14,#31,#00,#7f
	db #fe,#01,#ff,#7f,#00,#00,#05,#00
	db #01,#3c,#56,#00,#06,#fe,#55,#fb
	db #7f,#00,#00,#ff,#ff,#03,#fa,#ff
	db #02

;org #2e2b
;xor a
;call #3430
;org #2e42
;call #343a



;org #2f20
;call #3433
;ld a,(#343d)
;and a
;ret nz
; end of file
;
.game_name
	db "North Star",0
.game_year
	db "1988",0
.game_publisher
	db "Gremlin Graphics",0
.music_author
	db "Ben Daglish",0
.music_comment
	db "",0
	
	read "music_end_v1_0.asm"
